{include file="header.tpl" title="Them moi phong giao dich"}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_FBRNCODE}</td>
     <td colspan="3" style="color:#FF0000"><input name="FBRNCODE" id="FBRNCODE" type="text" style="background:{$colorFBRNCODE}" value="{$FBRNCODE}" size="20" maxlength="3" onblur="document.getElementById('findcbodpt').click();" />
      *
      <input type="button" onclick="mywindow = window.open('par_gifttranf_id.php?name=FBRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findchinhanh" id="replacement_binoculars" value="     "></td>
  </tr>
  <tr>
    <td>{$lbl_FDEPTCD}</td>
    <td style="color:#FF0000" colspan="3" ><select id="FDEPTCD" name="FDEPTCD" size="1" style="background:{$colorFDEPTCD};">
 		{foreach from=$cbo_DEPTCD key=k item=v}  
      <option value="{$k}" {if $FDEPTCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}  
    </select>
      *
      <input name="findcbodpt" value="" type="submit" id="findcbodpt" style="visibility:hidden" /></td>
  </tr>
  <tr>
    <td>{$lbl_ENABLE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="ENABLE" name="ENABLE" size="1" style="background:{$colorENABLE};">
 		{foreach from=$cbo_par_gifttranf_ENABLE key=k item=v}  
        <option value="{$k}" {if $ENABLE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}  
      </select>
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_TODEPT}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="TODEPTtmp" name="TODEPTtmp" size="1" style="background:{$colorTODEPTtmp};" onchange="showselect();">
	  	<option value=""></option>
 		{foreach from=$cbo_TODEPT key=k item=v}  
        <option value="{$k}" {if $TODEPTtmp eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}  
      </select>
    </span><span style="color:#FF0000">
      <input type="button" name="add_bt" id="add_bt" onclick="add_new_brn();" value="{$ten_them_moi}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="delete_bt" id="delete_bt" type="button" value=" {$ten_xoa} " class="button_style" onclick="delete_brn();"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></td>
  </tr>
  
 
  <tr  id="showrows">
    <td>{$lbl_SELECT}</td>
    <td colspan="3">
      <select id="BRNtmp" name="BRNtmp" size="1" style="background:{$colorDEPTCD};" onchange="document.getElementById('findcbo').click();" >
	  	<option value=""></option>
 		{foreach from=$cbo_FBRNCODE key=k item=v}  
        <option value="{$k}" {if $BRNtmp eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}  
      </select>
    <select id="DPTtmp" name="DPTtmp" size="1" style="background:{$colorDEPTCD};" >
 		{foreach from=$cbo_DEPTCD_tmp key=k item=v}  
      <option value="{$k}" {if $DPTtmp eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}  
    </select>
    <label>
    <input name="findcbo" value="" type="submit" id="findcbo" style="visibility:hidden" />
    </label>    </td>
  </tr>
  
  <tr>
    <td>&nbsp;</td>
    <td colspan="3">
      <textarea name="TODEPT" id="TODEPT" cols="45" readonly="readonly">{$TODEPT}</textarea>
    </td>
  </tr>
  
<tr>
<td colspan="4"><p></p>
<p></p></td>
</tr>
<tr>
<td colspan="4" align="right">

<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
